<template>
	<view>
		<view class="mineCss">
			<view class="header">
				<image class="img" src="../../static/FZD/10003.jpg" mode=""></image>
				<view class="name">
					{{name}}
				</view>
			</view>
		</view>
		<HR newHeight=30>
		</HR>
		<view class="main">
			<van-cell :title="item.title" v-for="item in titleArr" :key="item.id" is-link />
		</view>
	</view>
</template>

<script>
	import HR from "../../components/UserHr.vue"
	export default {
		data() {
			return {
				name:"樊振东",
				titleArr: [{
						id: 1,
						title: '修改信息'
					},
					{
						id: 2,
						title: '我的预约'
					}
				]
			}
		},
		components: {
			HR
		},
		methods: {

		}
	}
</script>

<style lang="scss" scoped>
	.mineCss {
		display: flex;
		justify-content: center;
		align-items: center;
		flex-direction: column;

		.header {
			background-color: white;
			height: 300rpx;
			width: 100%;
			display: flex;
			justify-content: space-around;
			align-items: center;
			flex-direction: column;
			box-sizing: border-box;

			.img {
				height: 170rpx;
				width: 170rpx;
				border-radius: 50%;
			}

			.name {
				font-weight: 500;
				font-size: 32rpx;
				color: black;
			}

			.main {
				width: 100%;
			}
		}
	}
</style>
